Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 1 - Introduction to Telephony on the Macintosh / Telephone Manager Initialization Reference
Telephone Manager Initialization Functions / Passing Events to a Telephone Tool for Processing


TELActivate

Processes an activate or deactivate event for a window associated with a telephone tool.

pascal void TELActivate (TELHandle hTEL, Boolean activate);
hTEL
A handle to the telephone record associated with a telephone terminal.
activate
A value that indicates whether the telephone tool should process an activate or a deactivate event. If the telephone tool should activate its associated window, set this parameter to true. If the telephone tool should deactivate its associated window, set this parameter to false.
DESCRIPTION
When your application processes an activate or deactivate event, it should determine whether the affected window belongs to a telephone tool. You can determine if an event should be processed by a telephone tool by checking the refcon field for the window record (windowRecord). If refcon points to a handle for a telephone record, then you should call TELActivate to handle the event.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help